package com.util;

import java.util.List;

/**
 * @author linyukun
 * @date 2022/7/6 18:55
 */
public class PagedResult<T> {
    /*serialVersionUID*/
    private static final long serialVersionUID = 1L;

    private List<T> list;//数据

    private long pageNum;//当前页

    private long pageSize;//条数

    private long total;//总条数

    private long pages;//总页面数目

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public long getPageNum() {
        return pageNum;
    }

    public void setPageNum(long pageNum) {
        this.pageNum = pageNum;
    }

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getPages() {
        return pages;
    }

    public void setPages(long pages) {
        this.pages = pages;
    }
}
